Xbasic
SESSION_GET Function
Syntax
Session_Handle as N = SESSION_GET([C windowname])
Arguments
- Session_Handle
The number Alpha Anywhere gives to each unique session.
- windowname
Character
Description
Get a session handle , current or session with window name.
Discussion
The SESSION_GET() function returns the number of the session assigned to a layout.
Example
This code was placed under the OnPush event of a button on a form.
ui_msg_box("Session Number", "" + session_get() )
Limitations
Desktop applications only.